foreach x of global round_var {
         di "`x'"
	replace `x'=round(`x',.000001) if `x'>=0.0001 & `x'<.01
	replace `x'=round(`x',.00001) if `x'>=0.001 & `x'<.1
	replace `x'=round(`x',.0001) if `x'>=0.01 & `x'<1
	replace `x'=round(`x',.001) if `x'>=0.1 & `x'<10
	replace `x'=round(`x',.001) if `x'>=1 & `x'<100
	replace `x'=round(`x',.01) if `x'>=10 & `x'<1000
	replace `x'=round(`x',.1) if `x'>=100 & `x'<10000
	replace `x'=round(`x',1) if `x'>=1000 & `x'<100000
	replace `x'=round(`x',10) if `x'>=10000 & `x'<1000000
	replace `x'=round(`x',100) if `x'>=100000 & `x'<10000000
	replace `x'=round(`x',1000) if `x'>=1000000 & `x'<100000000
	replace `x'=round(`x',10000) if `x'>=10000000 & `x'<1000000000
	replace `x'=round(`x',100000) if `x'>=100000000 & `x'<10000000000
	replace `x'=round(`x',1000000) if `x'>=1000000000 & `x'<100000000000
	replace `x'=round(`x',10000000) if `x'>=10000000000 & `x'<1000000000000
	replace `x'=round(`x',100000000) if `x'>=100000000000 & `x'<10000000000000
	replace `x'=round(`x',1000000000) if `x'>=1000000000000 & `x'<100000000000000
	replace `x'=round(`x',10000000000) if `x'>=10000000000000 & `x'<1000000000000000
	replace `x'=round(`x',100000000000) if `x'>=100000000000000 & `x'<10000000000000000
}
